!function(e,t){"use strict";var r=function(e,t){var r=e.find(".bdt-reading-progress");if(r.length){var o=r.data("settings");t(r).progressScroll([o.progress_bg,o.scroll_bg])}},o=function(e,s){if(e.find(".bdt-progress-with-cursor").length){document.getElementsByTagName("body")[0].addEventListener("mousemove",function(e){t.style.left=e.clientX+"px",t.style.top=e.clientY+"px",r.style.left=e.clientX+"px",r.style.top=e.clientY+"px",o.style.left=e.clientX+"px",o.style.top=e.clientY+"px"});var t=document.querySelector(".bdt-cursor"),r=document.querySelector(".bdt-cursor2"),o=document.querySelector(".bdt-cursor3");l();for(var n=document.querySelectorAll(".hover-target"),i=n.length-1;0<=i;i--)a(n[i]);s(document).ready(function(){var o=document.querySelector(".bdt-progress-wrap path"),n=o.getTotalLength();o.style.transition=o.style.WebkitTransition="none",o.style.strokeDasharray=n+" "+n,o.style.strokeDashoffset=n,o.getBoundingClientRect(),o.style.transition=o.style.WebkitTransition="stroke-dashoffset 10ms linear";var e=function(){var e=s(window).scrollTop(),t=s(document).height()-s(window).height(),r=n-e*n/t;o.style.strokeDashoffset=r};e(),s(window).scroll(e)})}function d(e){r.classList.add("hover"),o.classList.add("hover")}function l(e){r.classList.remove("hover"),o.classList.remove("hover")}function a(e){e.addEventListener("mouseover",d),e.addEventListener("mouseout",l)}},n=function(e,t){e.find(".bdt-horizontal-progress").length&&t("#bdt-progress").progress({size:"3px",wapperBg:"#eee",innerBg:"#DA4453"})},s=function(e,t){if(e.find(".bdt-progress-with-top").length){var o=document.querySelector(".bdt-progress-wrap path"),n=o.getTotalLength();o.style.transition=o.style.WebkitTransition="none",o.style.strokeDasharray=n+" "+n,o.style.strokeDashoffset=n,o.getBoundingClientRect(),o.style.transition=o.style.WebkitTransition="stroke-dashoffset 10ms linear";var r=function(){var e=jQuery(window).scrollTop(),t=jQuery(document).height()-jQuery(window).height(),r=n-e*n/t;o.style.strokeDashoffset=r};r(),jQuery(window).scroll(r);jQuery(window).on("scroll",function(){50